For IBM i 7.2: Restore to default (SMB1 only) // Clear the SMB version support flags CALL QZLSMAINT PARM('40' '2' '0X580') Support both SMB1 and SMB2 // Clear the SMB version support flags CALL QZLSMAINT PARM('40' '2' '0X580') // Enable SMB2 negotiation CALL QZLSMAINT PARM('40' '1' '0X400') Support only SMB2 // Clear the SMB version support flags CALL QZLSMAINT PARM('40' '2' '0X580') // Enable SMB2 negotiation and disable SMB1 CALL QZLSMAINT PARM('40' '1' '0X500') For IBM i 7.3: Restore to default (SMB1 and SMB2) // Clear the SMB version support flags CALL QZLSMAINT PARM('40' '2' '0X580') Support only SMB1 // Clear the SMB version support flags CALL QZLSMAINT PARM('40' '2' '0X580') // Disable SMB2 CALL QZLSMAINT PARM('40' '1' '0X80') Support only SMB2 // Clear the SMB version support flags CALL QZLSMAINT PARM('40' '2' '0X580') // Force SMB2 CALL QZLSMAINT PARM('40' '1' '0X100') For IBM i 7.4 and later: Restore to default (SMB1, SMB2, and SMB3) // Clear the SMB version support flags CALL QZLSMAINT PARM('40' '2' '0X1580') Support only SMB1 // Clear the SMB version support flags CALL QZLSMAINT PARM('40' '2' '0X1580') // Disable SMB2 and SMB3 CALL QZLSMAINT PARM('40' '1' '0X1080') Support only SMB2 // Clear the SMB version support flags CALL QZLSMAINT PARM('40' '2' '0X1580') // Force SMB2 and disable SMB3 CALL QZLSMAINT PARM('40' '1' '0X1100') Support only SMB1 and SMB2 // Clear the SMB version support flags CALL QZLSMAINT PARM('40' '2' '0X1580') // Disable SMB3 CALL QZLSMAINT PARM('40' '1' '0X1000') Support only SMB2 and SMB3 // Clear the SMB version support flags CALL QZLSMAINT PARM('40' '2' '0X1580') // Force SMB2 and higher CALL QZLSMAINT PARM('40' '1' '0X100') There is no current flag combination to force the server to only negotiate SMB3, but a user can force clients to use SMB3 by requiring encrypted connections in the NetServer configuration.